import request from '@/utils/request'


//  查询险种生育期列表
export function queryOrderInsuranceTypeGrowth(params) {
  return request({
    url: '/business/insuranceType/OrderInsuranceTypeGrowth/list',
    method: 'get',
    params
  })
}

//  获取险种生育期详情
export function getOrderInsuranceTypeGrowth(params) {
  return request({
    url: '/business/insuranceType/OrderInsuranceTypeGrowth/getDetail',
    method: 'get',
    params
  })
}

//  增加险种生育期
export function addOrderInsuranceTypeGrowth(data) {
  return request({
    url: '/business/insuranceType/OrderInsuranceTypeGrowth/addData',
    method: 'post',
    data
  })
}

//  修改险种生育期
export function updateOrderInsuranceTypeGrowth(data) {
  return request({
    url: '/business/insuranceType/OrderInsuranceTypeGrowth/updateData',
    method: 'put',
    data
  })
}

// 删除险种生育期
export function delOrderInsuranceTypeGrowth(params) {
  return request({
    url: `/business/insuranceType/OrderInsuranceTypeGrowth/deleteData`,
    method: 'delete',
    params
  })
}
